package com.jspxcms.plug.service;

import com.jspxcms.common.orm.Limitable;
import com.jspxcms.common.orm.RowSide;
import com.jspxcms.plug.domain.PlugHospital;
import com.jspxcms.plug.domain.Resume;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;
import java.util.Map;

public interface PlugHospitalService {
    public Page<PlugHospital> findAll(Integer siteId, Map<String, String[]> params, Pageable pageable);

    public RowSide<PlugHospital> findSide(Integer siteId, Map<String, String[]> params, PlugHospital bean, Integer position, Sort sort);

    public List<PlugHospital> findList(Limitable limitable);

    public PlugHospital get(Integer id);

    public PlugHospital save(PlugHospital bean);

    public PlugHospital update(PlugHospital bean);

    public PlugHospital delete(Integer id);

    public PlugHospital[] delete(Integer[] ids);
}
